package com.novellotus.iov.carvice.bean;

import java.util.List;

/**
 * Created by Rich on 2018/1/10.
 */

public class RxDiagnosisListItem {

    /**
     * offset : 0
     * limit : 2147483647
     * total : 4
     * size : 10
     * pages : 1
     * current : 1
     * searchCount : true
     * openSort : true
     * orderByField :
     * records : [{"id":"C6biwoWH7Hv1qjVnDn2Boy","vin":"LS3D3TB18H0018036","pn":"川C00005","brand_name":"","name":"netest-v01","code":"v01","alarmStatus":2,"createTime":1509421768000,"chargeStatus":false},{"id":"Y1yStSGjow7e6VH9uK28gJ","vin":"LS3D3TB15H0018043","pn":"川C00220","brand_name":"","name":"netest-v01","code":"v01","alarmStatus":2,"createTime":1510115973000,"chargeStatus":false},{"id":"DsvQ4SfQUo7P1THVyBCE8U","vin":"LS3D3TB1XH0018040","pn":"川C00100","brand_name":"","name":"netest-v01","code":"v01","alarmStatus":2,"createTime":1510038445000,"chargeStatus":false},{"id":"KK4f17nZgK9PRKUiTZpsYL","vin":"LS3D3TB11H0018041","pn":"川A123125","brand_name":"","name":"netest-v01","code":"v01","alarmStatus":2,"createTime":1513297037000,"chargeStatus":true}]
     * condition :
     * asc : true
     * offsetCurrent : 0
     */

    private int offset;
    private int limit;
    private int total;
    private int size;
    private int pages;
    private int current;
    private boolean searchCount;
    private boolean openSort;
    private String orderByField;
    private String condition;
    private boolean asc;
    private int offsetCurrent;
    private List<RecordsBean> records;

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public boolean isSearchCount() {
        return searchCount;
    }

    public void setSearchCount(boolean searchCount) {
        this.searchCount = searchCount;
    }

    public boolean isOpenSort() {
        return openSort;
    }

    public void setOpenSort(boolean openSort) {
        this.openSort = openSort;
    }

    public String getOrderByField() {
        return orderByField;
    }

    public void setOrderByField(String orderByField) {
        this.orderByField = orderByField;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    public boolean isAsc() {
        return asc;
    }

    public void setAsc(boolean asc) {
        this.asc = asc;
    }

    public int getOffsetCurrent() {
        return offsetCurrent;
    }

    public void setOffsetCurrent(int offsetCurrent) {
        this.offsetCurrent = offsetCurrent;
    }

    public List<RecordsBean> getRecords() {
        return records;
    }

    public void setRecords(List<RecordsBean> records) {
        this.records = records;
    }

    public static class RecordsBean {

        /**
         * id : C6biwoWH7Hv1qjVnDn2Boy
         * vin : LS3D3TB18H0018036
         * pn : 川C00005
         * brand_name :
         * name : netest-v01
         * code : v01
         * alarmStatus : 2
         * createTime : 1509421768000
         * chargeStatus : false
         */

        private String id;
        private String vin;
        private String pn;
        private String brand_name;
        private String name;
        private String code;
        private int alarmStatus;
        private long createTime;
        private boolean chargeStatus;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getVin() {
            return vin;
        }

        public void setVin(String vin) {
            this.vin = vin;
        }

        public String getPn() {
            return pn;
        }

        public void setPn(String pn) {
            this.pn = pn;
        }

        public String getBrand_name() {
            return brand_name;
        }

        public void setBrand_name(String brand_name) {
            this.brand_name = brand_name;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public int getAlarmStatus() {
            return alarmStatus;
        }

        public void setAlarmStatus(int alarmStatus) {
            this.alarmStatus = alarmStatus;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public boolean isChargeStatus() {
            return chargeStatus;
        }

        public void setChargeStatus(boolean chargeStatus) {
            this.chargeStatus = chargeStatus;
        }
    }
}
